home *** CD-ROM | disk | FTP | other *** search
- I have been running an Amiga 1000 since Jan '86, and for the past 6 months I have
- had two printers connected to the beast. My Epson does straight text just fine,
- and my Xerox 4020 does color ->BEAUTIFULLY<-. But neither one likes to see the
- control codes for the other! They get very pouty about it. I have a switch box
- that flips between them and Digi-View and A-Time, but I had no way to switch
- Preferences settings, except by using Preferences... Worst of all, it isn't
- obvious which way the setting is, unless I go back to Preferences... I solved
- the problem by writing a short routine to capture the current Preferences values
- and save them under a meaningful name - something better than
- "system-configuration". One set is named "Epson", another is called "Xerox".
- Each has a different pointer to indicate the version which is active. If my wife
- likes a different color scheme on screen, I will add an icon called "Marsha"...
-
- The arc file contains source and object, plus an example icon and this doc file.
- There is also an "Execute.Me" file which will install the sample in the Devs:
- directory for you. Execute it before trying the "Sample" icon. To use it just
- double-click the icon. To use the regular programs just set up the preferences
- you want (select "USE" rather than "SAVE", so you won't disturb your defaults),
- then use the CLI to run the program "SavePrefs" with a meaningful name to
- describe the settings you have set up temporarily. (i.e. "SavePrefs
- SantaPointer", if you are saving a version with a custom Santa pointer). This
- will generate a file in Devs: called SantaPointer. Next, bring up a drawer
- containing the sample icon provided. Use Workbench to copy it, then to rename
- the copy "SantaPointer", or whatever you called the Preferences values. Now just
- double-click the new icon anytime you want that Preferences setting!. You can
- have as many different icons as you want, as long as they have different names.
- The program SetPrefs is also provided. (This is actually the code called "sample"
- in the example, but it is renamed in each case to provide the meaningful name...)
- This is for use directly from the CLI, or from batch files. Just enter "SetPrefs
- SantaPointer" or whatever name you have called your desired Preference.
-
- I hope this is useful, I can't guarantee it, of course, but stretch your
- imaginations! 8^)
-
- David W. Nipper
- 826 N. Montezuma
- Tucson, AZ 85711
-
- (602)881-4851
- CompuServe 75756,1645
-
-
-